package records

import (
	"github.com/golib/mysql"
)

const RecordNameAuditionCityKnowledge = "audition_city_knowledge"

func init() {
	var r = &AuditionCityKnowledge{}
	mysql.RegisterRecord(r.Name(), r)
}

type AuditionCityKnowledge struct {
	CityKnowledgeId      int    `modify:"false" json:"cityKnowledgeId" form:"cityKnowledgeId" column:"city_knowledge_id" primary:"true"`
	CityId               int    `json:"cityId" form:"cityId" column:"city_id" modify:"true"`
	KnowledgeId          int    `json:"knowledgeId" form:"knowledgeId" column:"knowledge_id" modify:"true"`
	KnowledgeName        string `json:"knowledgeName" form:"knowledgeName" column:"knowledge_name" modify:"true"`
	Difficulty           int    `column:"difficulty" modify:"true" json:"difficulty" form:"difficulty"`
	CityPracticeScore    int    `json:"cityPracticeScore" form:"cityPracticeScore" column:"city_practice_score" modify:"true"`
	CityMasterScore      int    `column:"city_master_score" modify:"true" json:"cityMasterScore" form:"cityMasterScore"`
	CountryPracticeScore int    `json:"countryPracticeScore" form:"countryPracticeScore" column:"country_practice_score" modify:"true"`
	CountryMasterScore   int    `json:"countryMasterScore" form:"countryMasterScore" column:"country_master_score" modify:"true"`
	CreateTime           string `json:"createTime" form:"createTime" column:"create_time" modify:"false"`
	UpdateTime           string `json:"updateTime" form:"updateTime" column:"update_time" modify:"false"`
}

func (r *AuditionCityKnowledge) Name() string {
	return RecordNameAuditionCityKnowledge
}
